#include <iostream>
using namespace std;

int main(void){
	int n;
	double x[1000],y[1000];
	int result;
	cin>>n;
	for(int i=1;i<=n;i++){
		cin>>x[i];
		cin>>y[i];
	}
	for(int j=1;j<=n;j++){
		result=(x[j]*x[j]+y[j]*y[j])*3.1415926/100;
		cout<<"Property "<<j<<": This property will begin eroding in year ";
		cout<<result+1<<"."<<endl;
	}
	cout<<"END OF OUTPUT."<<endl;
	return 0;
}